<layout name="Iflayout"/>
<div class="xyh-content">

    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><em class="glyphicon glyphicon-cloud-upload"></em>
                用户基本资料		    </h3>
        </div>

    </div>


    <div class="row">
        <div class="col-lg-12">

            <form method='post' class="form-horizontal" id="form_do" name="form_do" action="/xyhai.php?s=/Member/person">
                <div class="form-group">
                    <label for="inputRealname" class="col-sm-2 control-label">姓名</label>
                    <div class="col-sm-9">
                        <input type="text" name="realname" id="inputRealname" value="{$arr['realname']}" class="form-control" placeholder="姓名" />
                    </div>
                </div>

                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">性别</label>
                    <div class="col-sm-9">
                        <label class="radio-inline">
                            <input type="radio" name="sex" value="{$arr['sex']}" {$arr['sex']==0 ? "checked" : ""}/>男
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="sex" value="{$arr['sex']}" {$arr['sex']==1 ? "checked" : ""}/>女
                        </label>
                    </div>
                </div>

                <div class="form-group">
                    <label for="birthday" class="col-sm-2 control-label">出生年月</label>
                    <div class="col-sm-4">
                        <input type="text" name="birthday" id="birthday" value="{$arr['birthday']}" class="form-control" placeholder="出生年月" />
                    </div>
                    <script type="text/javascript">
                        Calendar.setup({
                            weekNumbers: true,
                            inputField : "birthday",
                            trigger    : "birthday",
                            dateFormat: "%Y-%m-%d",
                            showTime: true,
                            minuteStep: 1,
                            onSelect   : function() {this.hide();}
                        });
                    </script>
                </div>

                <div class="form-group">
                    <label for="inputAddress" class="col-sm-2 control-label">联系地址</label>
                    <div class="col-sm-9">
                        <input type="text" name="address" id="inputAddress" value="{$arr['address']}" class="form-control" placeholder="联系地址" />
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputTel" class="col-sm-2 control-label">联系电话</label>
                    <div class="col-sm-9">
                        <input type="text" name="tel" id="inputTel" value="{$arr['tel']}" class="form-control" placeholder="联系电话" />
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputMobile" class="col-sm-2 control-label">手机</label>
                    <div class="col-sm-9">
                        <input type="text" name="mobile" id="inputMobile" value="{$arr['mobile']}" class="form-control" placeholder="手机" />
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputQq" class="col-sm-2 control-label">QQ</label>
                    <div class="col-sm-9">
                        <input type="text" name="qq" id="inputQq" value="{$arr['qq']}" class="form-control" placeholder="QQ" />
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputMaxim" class="col-sm-2 control-label">签名</label>
                    <div class="col-sm-9">
                        <textarea name="maxim" id="inputMaxim" class="form-control">{$arr['maxim']}</textarea>
                    </div>
                </div>


                <div class="row margin-botton-large">
                    <div class="col-sm-offset-2 col-sm-9">
                        <input type="hidden" name="id" value="9" />
                        <input type="hidden" name="new" value="1" />
                        <div class="btn-group">
                            <button type="submit" class="btn btn-primary"> <i class="glyphicon glyphicon-saved"></i>
                                保存
                            </button>
                            <button type="button" onclick="goUrl('/xyhai.php?s=/Member/index')" class="btn btn-default"> <i class="glyphicon glyphicon-chevron-left"></i>
                                返回
                            </button>
                        </div>
                    </div>
                </div>
            </form>

        </div>
    </div>






</div>
</body>
</html>